#include<stdio.h>

int AddToTop(int top)
{
    int res = 0;
    int i=0;
    while(i<=top)
    {
        res+=i;
        i++;
    }
    return res;
}
int main()
{
    int top=100;
    int result = AddToTop(top);
    printf("result:%d\n",result);
    
    printf("hello 1\n");
    printf("hello 2\n");
    printf("hello 3\n");
    printf("hello 4\n");
    printf("hello 5\n");
    printf("hello 6\n");
    return 0;
}
